package com.vcredit.creditcat.persistence.base;

import com.vcredit.creditcat.model.Merchant;
import com.vcredit.framework.pagination.DefaultCriteria;
import java.util.List;

public interface MerchantMapper {
	void insert(Merchant obj);

	void update(Merchant obj);

	List<Merchant> findAll();

	List<Merchant> find(Merchant obj);

	Merchant findById(Long id);

	List<Merchant> findByPage(DefaultCriteria criteria);
}
